//
//  NSString+Utils.m
//  Here
//
//  Created by Xiaohui Chen on 13-7-25.
//  Copyright (c) 2013年 Team4.us. All rights reserved.
//

#import "NSString+Utils.h"

@implementation NSString (Utils)

- (NSString *)trim
{
    return [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
}

- (BOOL)isCaseInsensitiveEqualToString:(NSString *)aString
{
    return ([self caseInsensitiveCompare:aString] == NSOrderedSame);
}
@end
